net/http.transferWriter.Body (field)
21 uses
net/http (current package)
transfer.go#L61: Body io.Reader
transfer.go#L91: t.Body = rr.Body
transfer.go#L104: if t.ContentLength != 0 && !isKnownInMemoryReader(t.Body) {
transfer.go#L114: t.Body = rr.Body
transfer.go#L127: t.Body = nil
transfer.go#L132: if !atLeastHTTP11 || t.Body == nil {
transfer.go#L137: } else if t.Body == nil { // no chunking, no body
transfer.go#L171: if t.ContentLength >= 0 || t.Body == nil { // redundant checks; caller did them
transfer.go#L182: return t.Body != nil
transfer.go#L217: }(t.Body)
transfer.go#L224: t.Body = nil
transfer.go#L228: t.Body = io.MultiReader(&byteReader{b: rres.b}, errorReader{rres.err})
transfer.go#L230: t.Body = io.MultiReader(&byteReader{b: rres.b}, t.Body)
transfer.go#L233: t.Body = errorReader{rres.err}
transfer.go#L240: t.Body = io.MultiReader(finishAsyncByteRead{t}, t.Body)
transfer.go#L352: if t.Body != nil {
transfer.go#L425: if r, ok := unwrapNopCloser(t.Body); ok {
transfer.go#L428: if r, ok := t.Body.(*readTrackingBody); ok {
transfer.go#L432: return t.Body
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |